/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.fei.ClassDiagram.Editor.events;

import java.util.EventObject;
import org.fei.ClassDiagram.Editor.Wrappers.ClassDataWrapper;
import org.fei.ClassDiagram.Editor.Wrappers.MethodDataWrapper;

/**
 *
 * @author Tomas
 */
public class ClassMethodEvent extends EventObject {
    
    private ClassDataWrapper classData;
    private MethodDataWrapper methodData;
    
    public ClassMethodEvent(Object source, ClassDataWrapper classData, MethodDataWrapper methodData) {
        super(source);
        this.classData = classData;
        this.methodData = methodData;
    }

    public ClassDataWrapper getClassData() {
        return classData;
    }

    public MethodDataWrapper getMethodData() {
        return methodData;
    }
}
